{block name=head}
 <head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <link rel="stylesheet" href="latest.css" />
  <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
  <script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
  <script src="latest.js"></script>
  <style type="text/css">
    /* misc */
    * { font-family: "Open Sans",Arial; font-size: 14.5px; }
    h1,h2,h3,h4, .ui-btn-inner{ font-weight: 400; }
  </style>
</head>
{/block}
{block name=body}
  <table cellspacing="0" class="ui-responsive table-stroke" data-role="table" id="sample" data-mode="columntoggle" data-top-container="true" data-bottom-container="true" data-inset="true" data-filter="true" align="center" border="1">
<h2 align="center">Loan List</h2>
<tr>
	<td>Party</td>
	<td>Phone Number</td>
	<td>Date</td>
	<td>Amount</td>
	<td>Interst</td>
	<td>Given Amount</td>
</tr>
{section name="sec" loop=$loanListArray}
<tr>
<td align="left">{$loanListArray[sec].partyName}</td>
<td align="left">{$loanListArray[sec].phoneNumber}</td>
<td align="left">{$loanListArray[sec].loanDate}</td>
<td align="right">{$loanListArray[sec].amount}</td>
<td align="right">{$loanListArray[sec].interst}</td>
<td align="right">{$loanListArray[sec].givenAmount}</td>
</tr>
{/section}
</table>
{/block}